local wuzibei = fk.CreateSkill {
  name = "lingling__wuzibei",
  dynamic_desc = function(self, player, lang)
    return table.concat(table.map(player:getTableMark("lingling__wuzibei_record"),function (str)
      return "【" .. Fk:translate(str) .. "】"
    end),"、")
  end,
}

Fk:loadTranslationTable {
  ["lingling__wuzibei"] = "<a href = ':lingling__wuzibei-info' style='text-decoration: none; color: pink;'>无字碑</a>",
  [":lingling__wuzibei"] = "",
  [":lingling__wuzibei-info"] = "无字碑会记录所有使用者或目标为武曌的牌名！"
}

wuzibei:addEffect(fk.CardUsing, {
  can_refresh = function(self, event, target, player, data)
    return player:hasSkill(wuzibei.name) and data.card and
        (target == player or (data.tos and table.contains(data.tos, player)))
  end,
  on_refresh = function(self, event, target, player, data)
    player.room:addTableMark(player, "lingling__wuzibei_record", data.card.name)
  end,
})

return wuzibei